initialize

open fun initialize(module: Module)

Initializes the control with its associated module context.

This method is typically called once before the control is first used or made active. It allows the control to set up its internal state, resources, and prepare for operation based on the provided data.

If #isAutoStart() is true, implementations might also trigger their start logic within or immediately after initialization.

This method is part of the RevelControl interface. Initializes the module with the provided module data. This method is called when the module is first created or when its configuration is updated. It sets up the module's behavior based on the options and playlist items defined in the module data.

Parameters

module

The module data to initialize the module with.